package com.dq.controller.in.orders;

import com.dq.controller.in.base.BaseAdminQuery;
import com.dq.domain.orders.UserOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuhui
 * @date 2019/11/25 0025 11:30:58
 */
@Data
@ApiModel("销售单查询实体")
public class UserOrderQuery extends BaseAdminQuery {
    @ApiModelProperty("顾客id")
    public Long wxUserId;
    @ApiModelProperty("顾客名称")
    public String wxUserRealcName;
    @ApiModelProperty("技师 ID， 属于技师销售的订单")
    public Long sellStaffUserId;
    @ApiModelProperty("技师 昵称， 属于技师销售的订单")
    public String sellStaffUserName;
    @ApiModelProperty("门店id")
    public Long orgId;
    @ApiModelProperty("门店名称")
    public String orgName;

    @ApiModelProperty("销售订单号")
    public String ordersNo;
    @ApiModelProperty("订单来源(线下订单,线上订单)")
    public UserOrder.OrderSource orderSource;
    @ApiModelProperty("订单状态")
    public UserOrder.UserOrderStatus status;
    @ApiModelProperty("支付方式")
    public UserOrder.PayType payType;
    @ApiModelProperty("是否欠款")
    public Boolean isOwed;

    @ApiModelProperty("开始时间")
    public Long timeBegin;
    @ApiModelProperty("结束时间")
    public Long timeEnd;
    @ApiModelProperty("价格区间：开始")
    public Long priceBegin;
    @ApiModelProperty("价格区间：结束")
    public Long priceEnd;

    @ApiModelProperty("app 端搜索框")
    public String searchBox;
}
